package com.yesep.learn.design.creational.factory;

import com.yesep.learn.design.common.pojo.*;

public class BirdFactory implements IAnimalFactoryMethod<Bird> {
    @Override
    public Bird createAnimal(String name) {
        return new Bird(name);
    }
}
